package me.zhengjie.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 单位信息摘要
 */
@ApiModel("UnitSummaryInfo")
public class UnitSummaryInfo implements Serializable {

    private static final long serialVersionUID = -1391335744895154251L;
    @ApiModelProperty("单位编号")
    private String aab001;
    @ApiModelProperty("单位名称")
    private String aab004;

    public UnitSummaryInfo(String aab001, String aab004) {
        this.aab001 = aab001;
        this.aab004 = aab004;
    }

    public UnitSummaryInfo(String aab001) {
        this.aab001 = aab001;
    }

    public Map convert2Map() {
        Map map = new HashMap<>();
        map.put("aab001", this.aab001);
        map.put("aab004", this.aab004);
        return map;
    }

    public String getAab001() {
        return aab001;
    }

    public String getaab004() {
        return aab004;
    }

    public UnitSummaryInfo setAab001(String aab001) {
        this.aab001 = aab001;
        return this;
    }

}
